package com.esun.payment_api.service.impl;


import com.esun.payment_api.domain.PDkCusRss;
import com.esun.payment_api.mapper.PDkCusRssMapper;
import com.esun.payment_api.service.PDkCusRssService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class PDkCusRssServiceImpl  implements PDkCusRssService {

    @Resource
    private PDkCusRssMapper pDkCusRssMapper;

//    往来单位订阅
    @Override
    public void callPDkCusRss(Integer cusId, Integer deptId, Integer coId, Integer userId) {
            pDkCusRssMapper.callPDkCusRss(cusId,deptId,coId,userId);
    }

//    取消往来单位订阅
    @Override
    public void cancelPDkCusRss(Integer cusId, Integer deptId, Integer coId, Integer userId) {

        pDkCusRssMapper.cancelPDkCusRss(cusId,deptId,coId,userId);

    }
}
